﻿


Namespace YahooManaged.Finance.Screener


    ''' <summary>
    ''' Additional quote properties
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockScreenerProperty
        Beta
        CashPerShare
        CurrentRatio
        EarningsGrowthEstimate_Next5Years
        EarningsGrowthEstimate_NextYear
        EarningsGrowthEstimate_ThisYear
        EarningsGrowth_Past5Years
        EBITDAMargin_ttm
        EntityValue
        EntityValueToRevenueRatio
        EntityValueToOperatingCashFlowRatio
        EntityValueToFreeCashFlowRatio
        EPS_NYCE
        EPS_mrq
        ForwardPriceToEarningsRatio
        FreeCashFlow
        Gap
        GapInPercent
        GrossMargin_ttm
        GrossProfit
        HeldByInsiders
        HeldByInstitutions
        LongTermDebtToEquityRatio
        NetIncome
        NumberOfEmployees
        OperatingCashFlow
        OperatingIncome
        OperatingMargin
        PriceEarningsRatio
        ProfitMargin_ttm
        QuickRatio
        ReturnOnAssets
        ReturnOnEquity
        RevenueEstimate_NextQuarter
        RevenueEstimate_ThisQuarter
        RevenueEstimate_ThisYear
        Sales_ttm
        SalesGrowthEstimate_NextQuarter
        SalesGrowthEstimate_NextYear
        SalesGrowthEstimate_ThisQuarter
        SalesGrowthEstimate_ThisYear
        SharesOutstanding
        SharesShort
        SharesShortPriorMonth
        TotalCash
        TotalDebt
        TotalDebtToEquityRatio
    End Enum

    ''' <summary>
    ''' Criteria groups for Stock Screener
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockScreenerCriteriaGroup
        Descriptive
        SharePerformance
        TradingAndVolume
        Valuation
        AnalystEstimates
        Ownership
        Dividends
        Margins
        BalanceSheet
        IncomeStatements
        Profitability
        Growth
        CashFlow
    End Enum



    ''' <summary>
    ''' Available stock exchanges for Stock Screener
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockExchange
        AMEX
        NASDAQ
        NYSE
    End Enum

    ''' <summary>
    ''' General stock value development directions
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockPriceChangeDirection
        Gain = 0
        Loss = 1
    End Enum

    ''' <summary>
    ''' Time points for comparing stock values with latest value
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockTradingAbsoluteTimePoint
        TodaysOpen = 0
        PreviousClose = 1
    End Enum

    ''' <summary>
    ''' Relative time points for begin or end of used time span
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockTradingRelativeTimePoint
        BeforeLastTradeTimePoint = 0
        AfterMarketOpens = 1
    End Enum

    ''' <summary>
    ''' Time span in minutes for stock value comparing
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockTradingTimeSpan
        _1 = 0
        _5 = 1
        _15 = 2
        _30 = 3
        _60 = 4
        _90 = 5
    End Enum

    ''' <summary>
    ''' Stock value extreme trading parameters
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum StockExtremeParameter
        TodaysHigh
        TodaysLow
        YearsHigh
        YearsLow
    End Enum

    Public Enum LessGreater
        Less
        Greater
    End Enum

    Public Enum UpDown
        Up = 0
        Down = 1
    End Enum

    ''' <summary>
    ''' Available Moving Averages
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum MovingAverageType
        FiftyDays
        TwoHundredDays
    End Enum




    Public Enum BondProperty
        Type
        Issue
        Price
        CouponInPercent
        Maturity
        YtmInPercent
        CurrentYieldInPercent
        FitchRatings
        Callable
    End Enum

    Public Enum UsState
        Any
        AL
        AK
        AZ
        AR
        CA
        CO
        CT
        DE
        FL
        GA
        HI
        ID
        IL
        [IN]
        IA
        KS
        KY
        LA
        [ME]
        MD
        MA
        MI
        MN
        MS
        MO
        MT
        NE
        NV
        NH
        NJ
        NM
        NY
        NC
        ND
        OH
        OK
        [OR]
        PA
        RI
        SC
        SD
        TN
        TX
        UT
        VT
        VA
        WA
        WV
        WI
        WY
    End Enum

    Public Enum PriceType
        Any
        Premium
        Par
        Discount
    End Enum

    Public Enum BondType
        Treasury
        TreasuryZeroCoupon
        Corporate
        Municipal
    End Enum

    Public Enum Rating
        Any = 0
        AAA = 1
        AA = 2
        A = 3
        BBB = 4
        BB = 5
        B = 6
        CCC = 7
        CC = 8
        D = 9
        NR = 10
    End Enum

End Namespace